package com.cc.mall.feign;

import com.cc.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.multipart.MultipartFile;

@FeignClient("cc-bill")
public interface OssFeign {
    @PostMapping(value = "/oss/upload",consumes = "multipart/form-data")
    public R upload(MultipartFile file);
}
